package edu.sjtu.erplab.cm.dao.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * ExchangeUser entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "collaborative_module")
public class CollaborativeModule implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	// Fields
	private Long tableId;
	private String Id;// TODO Id
	private String businessType;
	private String updateType;
	private String processKey;
	private String jpdlXml;
	private String componentsXml;
	private String originalJpdl;
	private String description;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	public Long getTableId() {
		return tableId;
	}

	public void setTableId(Long tableId) {
		this.tableId = tableId;
	}

	@Column(name = "Id")
	public String getId() {
		return Id;
	}

	public void setId(String id) {
		Id = id;
	}

	@Column(name = "businessType")
	public String getBusinessType() {
		return businessType;
	}

	public void setBusinessType(String businessType) {
		this.businessType = businessType;
	}

	@Column(name = "updateType")
	public String getUpdateType() {
		return updateType;
	}

	public void setUpdateType(String updateType) {
		this.updateType = updateType;
	}

	@Column(name = "processKey")
	public String getProcessKey() {
		return processKey;
	}

	public void setProcessKey(String processKey) {
		this.processKey = processKey;
	}

	@Column(name = "jpdlXml", columnDefinition = "LongText")
	public String getJpdlXml() {
		return jpdlXml;
	}

	public void setJpdlXml(String jpdlXml) {
		this.jpdlXml = jpdlXml;
	}

	@Column(name = "componentsXml", columnDefinition = "LongText")
	public String getComponentsXml() {
		return componentsXml;
	}

	public void setComponentsXml(String componentsXml) {
		this.componentsXml = componentsXml;
	}

	@Column(name = "originalJpdl", columnDefinition = "LongText")
	public String getOriginalJpdl() {
		return originalJpdl;
	}

	public void setOriginalJpdl(String originalJpdl) {
		this.originalJpdl = originalJpdl;
	}

	@Column(name = "description")
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

}